package com.ruoyi.lab.mapper;

import com.ruoyi.lab.domain.JacTestOutline;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * outlineMapper接口
 * 
 * @author ruoyi
 * @date 2021-04-06
 */
public interface JacTestOutlineMapper 
{
    /**
     * 查询outline
     * 
     * @param
     * @return outline
     */
    public JacTestOutline selectJacTestOutlineById(Long projectcode);

    /**
     * 查询outline列表
     * 
     * @param jacTestOutline outline
     * @return outline集合
     */
    public List<JacTestOutline> selectJacTestOutlineList(JacTestOutline jacTestOutline);

    /**
     * 新增outline
     * 
     * @param jacTestOutline outline
     * @return 结果
     */
    public int insertJacTestOutline(JacTestOutline jacTestOutline);

    /**
     * 修改outline
     * 
     * @param jacTestOutline outline
     * @return 结果
     */
    public int updateJacTestOutline(JacTestOutline jacTestOutline);

    /**
     * 删除outline
     * 
     * @param
     * @return 结果
     */
    public int deleteJacTestOutlineById(Long projectcode);

    /**
     * 批量删除outline
     * 
     * @param
     * @return 结果
     */
    public int deleteJacTestOutlineByIds(String[] projectcodes);

    public String selectSysUser(int userid);


    /**
     * 查询outline
     *
     * @param
     * @return outline
     */
    public JacTestOutline selectJacTestOutlineByIdNew(Long itemcode);
    public int setFinishTimeNUll(Long itemcode);
    /**
     * 查询outline
     *
     * @param
     * @return outline
     */
    public List<JacTestOutline> selectJacTestOutlineByMyItemCode(String itemcode);
    public JacTestOutline selectJacTestOutlineByItemcode(Long code);
    public List<JacTestOutline> selectJacTestOutlineListSupp(JacTestOutline jacTestOutline);
    public List<JacTestOutline> selectJacTestOutlineListNewTest(JacTestOutline jacTestOutline);
    public  String selectUserTypeById(String userId);
    public  String selectRemarkById(String userId);
    public  List<JacTestOutline> selectJacTestOutLineBySupplierCode(JacTestOutline jacTestOutline);
    public  List<JacTestOutline> selectJacTestOutlineByExName(JacTestOutline jacTestOutline);
    public String selectSysUserRemarkByUserId(String user_id);
    public String selectSysUserNameByUserId(String user_id);
    public List<String> selectRoleIdByUserId(String user_id);
    public int deleteJacTestOutlineCopy();
    public int insertJacTestOutlineCopy(JacTestOutline jacTestOutline);
    public List<JacTestOutline> selectJacTestOutlineCopy(@Param("limit") String limit);
    public List<JacTestOutline> selectJacTestOutlineListByVendorname(String vendorname);
}
